Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix dummy denom coin data for test in fswap (backport #1392) #1398

Merged
merged 1 commit into from
May 24, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 24, 2024

Description

The denomMetaData requires the Display field to appear in DenomUnits. This PR corrects the error dummy coin data in the test data.

https://github.com/Finschia/finschia-sdk/blob/main/x/bank/types/metadata.go#L73-L75

closes: #XXXX

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

This is an automatic backport of pull request #1392 done by [Mergify](https://mergify.com).

* fix: fix dummy denom coin data for test in fswap

Signed-off-by: 170210 <[email protected]>

* chore: update CHANGLOG.md

Signed-off-by: 170210 <[email protected]>

* fix: fix failed test

Signed-off-by: 170210 <[email protected]>

---------

Signed-off-by: 170210 <[email protected]>
(cherry picked from commit 6ca08db)
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.04%. Comparing base (de3499f) to head (b1c1ffd).
Report is 1 commits behind head on release/v0.49.x.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##           release/v0.49.x    #1398   +/-   ##
================================================
  Coverage            69.04%   69.04%           
================================================
  Files                  671      671           
  Lines                69299    69299           
================================================
+ Hits                 47846    47847    +1     
+ Misses               19167    19166    -1     
  Partials              2286     2286           

see 1 file with indirect coverage changes

@170210 170210 merged commit ecea330 into release/v0.49.x May 24, 2024
29 checks passed
@170210 170210 deleted the mergify/bp/release/v0.49.x/pr-1392 branch May 24, 2024 05:31
@170210 170210 added A: improvement Changes in existing functionality C:x/fswap labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: improvement Changes in existing functionality C:x/fswap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants